package com.gisterrier.client.components;

import com.smartgwt.client.types.Alignment;
import com.smartgwt.client.types.Overflow;
import com.smartgwt.client.widgets.Label;
import com.smartgwt.client.widgets.layout.HLayout;
import com.smartgwt.client.widgets.layout.SectionStack;
import com.smartgwt.client.widgets.layout.SectionStackSection;

public class POptions extends HLayout {
	public POptions() {
		this.setWidth("20%");
		this.setShowResizeBar(true);
		this.setResizeBarSize(300);
		SectionStack sectionStack = new SectionStack();
		sectionStack.setWidth100();
		sectionStack.setHeight100();

		Label navigationLabel = new Label();

		navigationLabel.setContents("Navigation");
		navigationLabel.setAlign(Alignment.CENTER);
		navigationLabel.setOverflow(Overflow.HIDDEN);
		navigationLabel.setWidth100();

		SectionStackSection summarySection = new SectionStackSection();
		summarySection.setTitle("Map Operations");
		summarySection.setExpanded(true);
		sectionStack.addSection(summarySection);
		
		
		SectionStackSection mnemosummarySection = new SectionStackSection();
		mnemosummarySection.setTitle("Mnemo Schemes");
		sectionStack.addSection(mnemosummarySection);
		
		SectionStackSection billrepsummarySection = new SectionStackSection();
		billrepsummarySection.setTitle("Billing Reporting");
		sectionStack.addSection(billrepsummarySection);
		
		SectionStackSection docsummarySection = new SectionStackSection();
		docsummarySection.setTitle("Billing DocFlow");
		sectionStack.addSection(docsummarySection);
		
		
		SectionStackSection usersummarySection = new SectionStackSection();
		usersummarySection.setTitle("User Managment");
		sectionStack.addSection(usersummarySection);
		
		this.addMember(sectionStack);
		
	}
}
